package com.zz.inventory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;

public class Labs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机房ID */
    private Long labId;

    /** 所属学校ID */
    @Excel(name = "所属学校ID")
    private Long schoolId;

    /** 机房名称 (如：第一机房) */
    @Excel(name = "机房名称 (如：第一机房)")
    private String labName;

    /** 机房容量 */
    @Excel(name = "机房容量")
    private Long capacity;

    /** 机房位置 */
    @Excel(name = "机房位置")
    private String location;

    /*创建时间*/
    @Excel(name = "创建时间")
    private Date createTime;

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setLabId(Long labId)
    {
        this.labId = labId;
    }

    public Long getLabId()
    {
        return labId;
    }

    public void setSchoolId(Long schoolId)
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId()
    {
        return schoolId;
    }

    public void setLabName(String labName)
    {
        this.labName = labName;
    }

    public String getLabName()
    {
        return labName;
    }

    public void setCapacity(Long capacity)
    {
        this.capacity = capacity;
    }

    public Long getCapacity()
    {
        return capacity;
    }

    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("labId", getLabId())
                .append("schoolId", getSchoolId())
                .append("labName", getLabName())
                .append("capacity", getCapacity())
                .append("location", getLocation())
                .append("createTime", getCreateTime())
                .toString();
    }
}
